package com.ibeeking.found.common.entity;

import com.ibeeking.found.common.enums.member.OrderLockPointsTypeEnum;
import com.ibeeking.found.common.enums.member.OrderLockStockEnum;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Author ibeeking
 * @Date 2021/7/6 9:38
 * @Version 1.0
 * @Description TODO 待定
 */
@Data
public class MemberPayOperateParam implements Serializable {
    private static final long serialVersionUID = -670309735888198732L;

    /**
     * 订单号
     */
    private List<Long> orderNos;
    /**
     * 需要操作的库存状态  1 锁定库存 2 解锁库存  3 支付成功订单  4 退款订单
     */
    private OrderLockStockEnum orderLockStockEnum;

    @NotNull(message = "会员id不能为空!")
    private Long memberId;

    @NotNull(message = "订单号不能为空!")
    private Long orderNo;

    /**
     * 积分
     */
    private Integer points;

    @NotNull(message = "锁积分类型不能为空!")
    private OrderLockPointsTypeEnum orderLockPointsTypeEnum;
}
